﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Visitor.master" AutoEventWireup="true" CodeFile="LoginFail.aspx.cs" Inherits="Visitor_LoginFail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style6
        {
            width: 100%;
        }
        .style7
        {
            width: 159px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"><div id="head">
        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Small" 
            ForeColor="White" Text="Login"></asp:Label>
    <table class="style6">
        <tr>
            <td class="style7" width="350">
                &nbsp;</td>
            <td width="350">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style7" width="350">
                &nbsp;</td>
            <td width="350">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right" class="style7" width="350">
                <asp:Label ID="Label8" runat="server" Font-Bold="False" Text="Username"></asp:Label>
            </td>
            <td align="left" width="350">
                <asp:TextBox ID="txtUsername" runat="server" Width="150px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtUsername" ErrorMessage="Username can't be blank" 
                    Font-Bold="False" ValidationGroup="Login" ForeColor="Red">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right" class="style7" width="350">
                <asp:Label ID="Label9" runat="server" Font-Bold="False" Text="Password"></asp:Label>
            </td>
            <td align="left" width="350">
                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtPassword" ErrorMessage="Password can't be blank" 
                    Font-Bold="False" ValidationGroup="Login" ForeColor="Red">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style7" width="350">
                &nbsp;</td>
            <td align="left" width="350">
                <asp:Label ID="Label10" runat="server" Font-Bold="False" ForeColor="Red" 
                    Text="Username or Password Invalid."></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style7" width="350">
                &nbsp;</td>
            <td align="left" valign="top" width="350">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" Font-Bold="False" 
                    style="color: #FF0000" ValidationGroup="Login" />
            </td>
        </tr>
        <tr>
            <td class="style7" width="350">
                &nbsp;</td>
            <td align="left" width="350">
                <asp:ImageButton ID="imgbLogin" runat="server" 
                    ImageUrl="~/images/img_Login.png" ValidationGroup="Login" 
                    onclick="imgbLogin_Click" />
&nbsp;&nbsp;
                <asp:ImageButton ID="imgbBack" runat="server" ImageUrl="~/images/img_Back2.png" 
                    PostBackUrl="~/Visitor/Index.aspx" />
            </td>
        </tr>
        <tr>
            <td class="style7" width="350">
                &nbsp;</td>
            <td width="350">
                &nbsp;</td>
        </tr>
    </table>
    </div>
    </asp:Content>

